class Session{

    get(){
        return this.session;
    }
    set(val){
        this.create(val);
    }
    create(val){
        this.session=val;
    }
}

let sess=new Session();
console.log(sess);
